<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2020/5/9
  Time: 11:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <style type="text/css">
        td{
            border: 2px solid  deepskyblue;
        }
    </style>
</head>
<body>
<table>
    <h3>淘宝服装产品列表</h3>
    <form action="/mohu">
        品牌：<input type="text" name="mh">
        <input type="submit" value="查询信息">
        <a href="xz.jsp"><input type="button" value="商品上架"></a>
    </form>

    <tr>
        <td>编号</td>
        <td>品牌名称</td>
        <td>服装描述</td>
        <td>上架时间</td>
        <td>价格</td>
        <td>修改</td>
        <td>删除</td>
        <td>详情</td>
    </tr>
<c:forEach items="${list}" var="emp">
    <tr>
        <td>${emp.s_id}</td>
        <td>${emp.s_name}</td>
        <td>${emp.s_ms}</td>
        <td>${emp.s_time}</td>
        <td>${emp.s_price}</td>
        <td><a href="update.jsp?id=${emp.s_id}">修改</a></td>
        <td><a href="/sc?id=${emp.s_id}">删除</a></td>
        <td><a href="/xq?id=${emp.s_id}">详情</a></td>
    </tr>
</c:forEach>

</table>
</body>
</html>
